﻿
using Core.Toolkit.Core.Entitys;
using System;
using System.ComponentModel.DataAnnotations;

namespace Core.SimpleTemp.Entitys
{

    public class JG_STOPTimes : Entity
    {
        /// <summary>
        /// 部门
        /// </summary>
        public Guid? department { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public Guid? duty { get; set; }

        public bool? IsWarn { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public Guid? name { get; set; }
        /// <summary>
        /// 提醒频次
        /// </summary>
        public int? WarnTime { get; set; }
        /// <summary>
        /// 提醒开始时间
        /// </summary>
        public DateTime? WarnBeginTime { get; set; }
        /// <summary>
        /// 提前提醒天数
        /// </summary>
        public int? WarnDays { get; set; }
        public string WarnType { get; set; }
        public int? BeginTimeByMonth { get; set; }
        public int? BeginTimeByWeek { get; set; }
        public int? BeginTimeByDay { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 添加部门
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 更改部门
        /// </summary>
        public Guid? UpdateDept { get; set; }

        [StringLength(200)]
        public String Mark01 { get; set; }
        [StringLength(200)]
        public String Mark02 { get; set; }
        [StringLength(200)]
        public String Mark03 { get; set; }

        #region bySongyf
        public SysDepartment SysDepartment { get; set; }
        public SysDuty SysDuty { get; set; }
        public SysUser SysUser { get; set; }

        #endregion
    }
}
